<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Will Forum</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
    <nav id="nav">
        <a href="{{ url_for('home') }}" id="home"><img src="/static/images/icon.png" >Mars Forum</a>
        {% if current_user.is_authenticated %}
        <a href="{{ url_for('new_post') }}" id="new_post"><img src="/static/images/plus.png" style="height:25px; width:25px">New Post</a>
            <a href="{{ url_for('files') }}" id="files"><img src="/static/images/cloud.png">Cloud File Management</a>
{#            <a href="{{ url_for('aichat') }}" id="aichat"><img src="/static/images/chat.png">AI Chat</a>#}
            {% if current_user.is_admin %}
                <a href="{{ url_for('admin') }}" id="admin"><img src="/static/images/admin.png">Admin</a>
            {% endif %}
        {% else %}
            <a href="{{ url_for('login') }}" id="login"><img src="/static/images/login.png">Login</a>
            <a href="{{ url_for('register') }}" id="register"><img src="/static/images/register.png">Register</a>
        {% endif %}
    </nav>
        <div class="container" style="margin: 80px auto 10px; width:70%">
            <div style="text-align: center">
                <img src="/static/images/icon.png" alt="None"><h1>Mars Forum</h1>
            </div>
            <h1 style="text-align: center; font-size: 100px;">500 Error</h1>
            <p style="text-align: center">Something wrong with the server, we will fix as quick as we can</p>
        </div>
</body>

